﻿@model Chapter3Applications.Models.Abstract.IShoppingListRepository

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>DisplayShoppingLists</title>
</head>
<body>
    <div>
        @foreach( var ShoppingList in Model.ShoppingListSet)
        {
            <p>ShoppingList: @ShoppingList.ShoppingListName</p>
            
            foreach(var Product in ShoppingList.Product)
            {
                <p>@Product.ProductName</p>
            }
            <p>End of ShoppingList</p>
            <p>-------------------</p>
        }
    </div>
</body>
</html>
